package com.zhangshuo.test2.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 订单信息
 * </p>
 *
 * @author 张硕
 * @since 2017-05-31
 */
public class SmsInCharge extends Model<SmsInCharge> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 短信内容
     */
	private String text;
    /**
     * 网关ID
     */
	private String gateway;
    /**
     * 服务器订单ID
     */
	private String orderId;
    /**
     * 订单状态
     */
	private String status;
    /**
     * 订单金额
     */
	private Integer amount;
    /**
     * 中石化订单号
     */
	private String order;
    /**
     * 是否通知到服务器
     */
	private Boolean isNotify;
    /**
     * 订单时间
     */
	private Date createAt;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getGateway() {
		return gateway;
	}

	public void setGateway(String gateway) {
		this.gateway = gateway;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Integer getAmount() {
		return amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}

	public Boolean isIsNotify() {
		return isNotify;
	}

	public void setIsNotify(Boolean isNotify) {
		this.isNotify = isNotify;
	}

	public Date getCreateAt() {
		return createAt;
	}

	public void setCreateAt(Date createAt) {
		this.createAt = createAt;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
